package com.lap.auth.adapter.driving.persistence.role.mapper;

import com.lap.auth.adapter.driving.persistence.role.po.RolePo;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMapper {

  void insert(RolePo rolePo);

  int deleteById(Integer id);

  long countByCode(String code);

  RolePo selectById(Integer id);

  List<RolePo> selectByIds(List<Integer> ids);

  int updateById(RolePo rolePo);
}
